package cc.jt.fm;

import cn.org.atool.fluent.mybatis.annotation.FluentMybatis;
import cn.org.atool.fluent.mybatis.annotation.TableId;
import cn.org.atool.fluent.mybatis.base.IEntity;
import cn.org.atool.fluent.mybatis.base.RichEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Setter
@Getter
@ToString
@FluentMybatis
public class MemberEntity extends RichEntity {

  @TableId
  private Integer id;
  private String uid;
  private String username;
  private String nickname;
  private String passwordHash;

  @Override
  public Class<? extends IEntity> entityClass() {
    return MemberEntity.class;
  }
}
